import request from "@/utils/requestMd5";

// 设备列表
export function goods_devList(params) {
  return request({
    url: "/goods/devList",
    method: "get",
    params
  });
}

// 添加设备
export function goods_addDev(data) {
  return request({
    url: "/goods/addDev",
    method: "post",
    data: data
  });
}

// 编辑设备
export function goods_editDev(data) {
  return request({
    url: "/goods/editDev",
    method: "post",
    data: data
  });
}

//   获取设备详情
export function goods_devDetail(params) {
  return request({
    url: "/goods/devDetail",
    method: "get",
    params
  });
}
